//
//  YFStatusToolBar.swift
//  仿新浪微博
//
//  Created by 杨帆 on 16/7/6.
//  Copyright © 2016年 杨帆. All rights reserved.
//

import UIKit

class YFStatusToolBar: UIView {

    var viewModel :YFStatusViewModel? {
        didSet {
        
            retweetedButton.setTitle(viewModel?.retweetedStr, for: [])
            commentButton.setTitle(viewModel?.commentStr, for: [])
            likeButton.setTitle(viewModel?.likeStr, for: [])


        }
    }
    // 转发
    @IBOutlet weak var retweetedButton: UIButton!
    
    // 评论
    @IBOutlet weak var commentButton: UIButton!
    
    // 点赞
    @IBOutlet weak var likeButton: UIButton!

}
